package org.NooLab.tikaserver.tcp.agents;

import java.io.Serializable;

import org.NooLab.tikaserver.intf.TikaSrvDataTransferPkgIntf;





public class TikaSrvDataTransferPkg 
										implements
													Serializable,
													TikaSrvDataTransferPkgIntf{

	String filename = "";
	int typeOfData = -1;
	
	String stringData ="";
	Object binData ;
	private int confirmationCode = -99;
	private String taskGuid = "";
	private String resultText = "";

	// ========================================================================
	public TikaSrvDataTransferPkg(){
		
	}
	// ========================================================================
	
	
	@Override
	public String getFilename() {
		return filename;
	}

	@Override
	public void setFilename(String filname) {
		filename = filname ;
	}

	public String getStringData() {
		return stringData;
	}


	public void setStringData(String stringData) {
		this.stringData = stringData;
	}


	public Object getBinData() {
		return binData;
	}


	public void setBinData(Object binData) {
		this.binData = binData;
	}


	@Override
	public int getTypeOfData() {
		 
		return typeOfData;
	}

	@Override
	public void setTypeOfData(int _type) {
		typeOfData = _type;
	}


	@Override
	public void setConfirmationCode(int confcode) {
		confirmationCode = confcode ;
	}


	@Override
	public int getConfirmationCode() {
		 
		return confirmationCode;
	}


	@Override
	public String getGuid() {
		 
		return taskGuid;
	}


	@Override
	public void setGuid(String guid) {
		taskGuid = guid;
		
	}


	@Override
	public void setResultText(String text) {
		resultText = text;
	}


	@Override
	public String getResultText() {
		 
		return resultText;
	}

}
